#ifndef TCPTHREAD_H
#define TCPTHREAD_H

#include <QObject>
#include <QRunnable>
#include <QTcpSocket>

class TCPThread : public QObject, QRunnable
{
    Q_OBJECT
public:
    explicit TCPThread(QObject *parent = nullptr);

    void run();
    void setTcpSocket(QTcpSocket *);

signals:

public slots:

private:
    QTcpSocket *tcpSocket;
};

#endif // TCPTHREAD_H
